<template>
    <div id="html-box" v-html="recordDetail">
        <!-- ----------- -->
        <!-- 邮件HTML预览 -->
        <!-- ----------- -->
    </div>
</template>
<script lang="ts">
import { Component, Vue, Prop } from 'vue-property-decorator';

@Component({
    name: 'EmailContent',
    components: {},
})
export default class EmailContent extends Vue {
    @Prop() recordDetail: any;
}
</script>
<style lang="scss" scoped>
#html-box {
    max-height: 100%;
    overflow: auto;
}
</style>
